package com.service.admin.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.admin.base.controller.req.WalletReq;
import com.service.admin.member.controller.req.MemberRWPageReq;
import com.service.admin.member.controller.req.MemberRechargeReq;
import com.service.core.rest.response.CommonPageRep;
import com.service.dao.enums.CoinsEnum;
import com.service.dao.enums.WalletEnums;
import com.service.dao.model.Member;
import com.service.dao.model.RwRecord;
import com.service.dao.po.RWRecordResultPO;

import java.util.List;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年09月25日</dd>
 * </dl>
 *
 * @author
 */
public interface MemberRWService extends IService<RwRecord> {


    CommonPageRep<RWRecordResultPO> pageMemberRW(MemberRWPageReq rwPageReq);

    void remittance2Member(RwRecord rwRecord, String txId);

    void rejectWithdraw( RwRecord rwRecord);

    void recharge(MemberRechargeReq rechargeReq, Member member);

    Integer funded(WalletReq walletReq);

    List queryWalletExcel(CoinsEnum coinType);
}
